// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_SALES_CONTRACT_REVIEW_ITEM
// * CreateDate    : 2014-06-05 18:30:36
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:36
// * LastChanger   : 2014-06-05 18:30:36
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class SalesContractReviewItemTable : TableInfo
    {
		public const string C_TableName = "SALES_CONTRACT_REVIEW_ITEM";
		
		public const string C_ID = "ID";
		public const string C_REVIEW_NO = "REVIEW_NO";
		public const string C_MATERIAL_ID = "MATERIAL_ID";
		public const string C_MATERIAL_NAME = "MATERIAL_NAME";
		public const string C_MATERIAL = "MATERIAL";
		public const string C_STD = "STD";
		public const string C_DESCRIPTION = "DESCRIPTION";
		public const string C_REQ_DATE = "REQ_DATE";
		public const string C_PRICE = "PRICE";
		public const string C_IS_TAX = "IS_TAX";
		
		public SalesContractReviewItemTable()
        {
            _tableName = "SALES_CONTRACT_REVIEW_ITEM";
        }
		
		protected static SalesContractReviewItemTable _current;
        public static SalesContractReviewItemTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new SalesContractReviewItemTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_REVIEW_NO, new ColumnInfo(C_REVIEW_NO,"ReviewNo", false, typeof(string)));
            _current.Add(C_MATERIAL_ID, new ColumnInfo(C_MATERIAL_ID,"MaterialId", false, typeof(string)));
            _current.Add(C_MATERIAL_NAME, new ColumnInfo(C_MATERIAL_NAME,"MaterialName", false, typeof(string)));
            _current.Add(C_MATERIAL, new ColumnInfo(C_MATERIAL,"Material", false, typeof(string)));
            _current.Add(C_STD, new ColumnInfo(C_STD,"Std", false, typeof(string)));
            _current.Add(C_DESCRIPTION, new ColumnInfo(C_DESCRIPTION,"Description", false, typeof(string)));
            _current.Add(C_REQ_DATE, new ColumnInfo(C_REQ_DATE,"ReqDate", false, typeof(DateTime)));
            _current.Add(C_PRICE, new ColumnInfo(C_PRICE,"Price", false, typeof(decimal)));
            _current.Add(C_IS_TAX, new ColumnInfo(C_IS_TAX,"IsTax", false, typeof(int)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo REVIEW_NO
        {
            get { return this[C_REVIEW_NO]; }
        }
		
		public ColumnInfo MATERIAL_ID
        {
            get { return this[C_MATERIAL_ID]; }
        }
		
		public ColumnInfo MATERIAL_NAME
        {
            get { return this[C_MATERIAL_NAME]; }
        }
		
		public ColumnInfo MATERIAL
        {
            get { return this[C_MATERIAL]; }
        }
		
		public ColumnInfo STD
        {
            get { return this[C_STD]; }
        }
		
		public ColumnInfo DESCRIPTION
        {
            get { return this[C_DESCRIPTION]; }
        }
		
		public ColumnInfo REQ_DATE
        {
            get { return this[C_REQ_DATE]; }
        }
		
		public ColumnInfo PRICE
        {
            get { return this[C_PRICE]; }
        }
		
		public ColumnInfo IS_TAX
        {
            get { return this[C_IS_TAX]; }
        }
		
		
		
	}
}

